<?php

	include('./config/dbconnect.inc');

	$red = $_GET[red];
	$green = $_GET[green];
	$blue = $_GET[blue];

	/*$address = "./filesystem/editor/usercolors.txt";
	$filehandler = fopen($address, "a");
	$x = fwrite($filehandler, $red.",".$green.",".$blue.";\r\n");
	fclose($filehandler);*/

	$sql = 'insert into usercolors(usercolor_red, usercolor_green, usercolor_blue) values('.$red.', '.$green.', '.$blue.')';
	$result = mysql_query($sql);

?>
